projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d3986e
)
docs: Update code demo for newer glib
author
Benjamin Otte
<otte@redhat.com>
Sat, 10 Dec 2011 04:26:06 +0000
(
05:26
+0100)
committer
Benjamin Otte
<otte@redhat.com>
Sat, 10 Dec 2011 07:00:26 +0000
(08:00 +0100)
gtk/gtktreeselection.c
patch
|
blob
|
history
diff --git
a/gtk/gtktreeselection.c
b/gtk/gtktreeselection.c
index 8ea86dce3c3c031f192f88ec9bbd7c034ccffef7..071a87ba6d195653f9a4a6e299aa90ed308c35a1 100644
(file)
--- a/
gtk/gtktreeselection.c
+++ b/
gtk/gtktreeselection.c
@@
-554,8
+554,7
@@
gtk_tree_selection_get_selected (GtkTreeSelection *selection,
*
* To free the return value, use:
* |[
- * g_list_foreach (list, (GFunc) gtk_tree_path_free, NULL);
- * g_list_free (list);
+ * g_list_free_full (list, (GDestroyNotify) gtk_tree_path_free);
* ]|
*
* Return value: (element-type GtkTreePath) (transfer full): A #GList containing a #GtkTreePath for each selected row.